package com.Generics.bean.ch01;

import com.Generics.bean.ch04.Meekly;

/**
 * @author nmm
 * @date 2024-03-2024/3/29
 * @deriction njm......
 */
public class Dog implements Meekly {
    private  String  pname;

    public String getName() {
        return pname;
    }

    public void setName(String name) {
        this.pname = name;
    }

    public void sound() {
        System.out.println("汪汪汪");
    }
}